package com.suifeng.mq.order.feign;

import com.suifeng.mq.common.utils.R;
import com.suifeng.mq.common.vo.StockGoodsLockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("mq-stock")
public interface StockFeignService {

    @PostMapping("/stock/lock/order")
    R orderLockStock(@RequestBody StockGoodsLockVo lockVo);

}
